ReliableProperty<T>
ReliableProperty<T>
Events
event OnDidRevertDelegate onDidRevert
Called when an anticipated change was rejected by the server, and the value has been reverted to the last value that was received from the server.
Properties
T value { get; set; }
bool dirty { get; }
True if the property has local changes.
Methods
int WriteLength(StreamContext context)
bool Write(WriteStream stream, StreamContext context)
bool Read(ReadStream stream, StreamContext context)
void Confirm(uint updateID, StreamContext& context)
Confirm an update as received by the server. This is _not_ an acknowledgement that the property value was accepted, only that the update is no longer inflight. If the property value was accepted, it is sent back to the local client in the preceding read.
void UnsubscribeCallback()
Unsubscribe the inflight notification. The local value will remain unchanged.